package com.it.myd.dao.main.module.article;

import com.it.myd.bean.box.Article;
import com.it.myd.bean.box.MsgBoard;
import com.it.myd.bean.main.File;
import com.it.myd.bean.main.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleDao {

    public Integer getArticleId();
    public void InsertUserProFile(File file);
    public void updateUserProFile(File file);
    public Article selectArticle(Article article);

    public List<Article> selectArticles(Article article);
    public List<Article> selectArticlesHot(Article article);
    public void insertArticle(Article article);
    public void updateArticle(Article article);
    public void deleteArticle(Article article);
    public void addUpCount(Article article);
    public void subUpCount(Article article);
    public void subDownCount(Article article);
    public void addDownCount(Article article);


}
